Skip to content

Conversation

@wangkuiyi
Copy link

No description provided.

编辑 `Vagrantfile`,引入两个修改:

1. `$num_instances = 1` 改成 `$num_instances = 4`,这样机群里有四个nodes。
1. `$vm_memory = 1024` 改成 `$vm_memory = 2048`,这样每个node有4GB内存。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$vm_memory = 2048应该是2GB内存?typo?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@lipeng-unisound
Copy link

文档里提到 CoreOS 中自带的 etcd 很老,所以应该在 docker 里运行最新的 etcd 程序。其实当前的 CoreOS 里自带了 etcd 和 etcd2 两个程序,etcd2 的版本在 CoreOS 1010.5.0 中是 2.3.1。我觉得对于 CoreOS 自带的程序可能不需要用 docker 来运行。

@wangkuiyi
Copy link
Author

谢谢总理指正。 @lipeng-unisound
我这就修改,并且争取尽快完成实验

Yi Wang and others added 2 commits July 5, 2016 15:14

```
docker run --net=host --rm --name etcd quay.io/coreos/etcd:v2.3.2
vagrant ssh core-04
Copy link

@lipeng-unisound lipeng-unisound Jul 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上行的 core-01 和这行的 core-04 不一致

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@wangkuiyi
Copy link
Author

wangkuiyi commented Jul 8, 2016

完成了discovery试验:

  1. 在虚拟机群里先建一个单节点etcd机群,
  2. 然后以其作为discovery service,来bootstrap一个三节点的虚拟机群。
  3. 然后验证更多加入的etcd节点会作为proxy。

请大家review。 @lipeng-unisound @sunxs1101 @jiamliang @pineking @vienlee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants